module.exports = {
  // 预设
  // presets: ['@babel/preset-env'],
  presets: [
    ['@babel/preset-env', {
      useBuiltIns: 'usage',
      'corejs': 2
    }]
  ],
  // 插件
  plugins: [
    [
      "component",  // 为babel-plugin-component配置
      {
        "libraryName": "element-ui",
        "styleLibraryName": "theme-chalk"
      }
    ]
  ]

}